.head{
	widows: 100;
	height: 150px;
	background-color: white;
}

.neck{
	width: 100;
	height: 50px;
	background-color: powderblue;
}

.foot{
	width: 100;
	height: 50px;
	background-color: white;
}

.mybutton {
	/*padding:0;margin:0*/
	border: 1px;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
}

.mybutton:hover {
	background-color: darkblue;
}

.font1 {
	color: black;
	font-size: 16px;
}

.text1 {
	width: 30px;
	height: 10px;
	text-align: right;
}

<
style type ="text /css">* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

.container {
	position: relative;
	width: 1500px;
	height: 450px;
	margin: 5px auto 0 auto;
	box-shadow: 0 0 5px green;
	overflow: hidden;
}

.container .wrap {
	position: absolute;
	width: 10500px;
	height: 450px;
	z-index: 1;
}

.container .wrap img {
	float: left;
	width: 1500px;
	height: 450px;
}

.container .buttons {
	position: absolute;
	right: 5px;
	bottom: 40px;
	width: 150px;
	height: 10px;
	z-index: 2;
}

.container .buttons span {
	margin-left: 5px;
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: green;
	text-align: center;
	color: white;
	cursor: pointer;
}

.container .buttons span.on {
	background-color: red;
}

.container .arrow {
	position: absolute;
	top: 35%;
	color: green;
	padding: 0px 14px;
	border-radius: 50%;
	font-size: 50px;
	z-index: 2;
	display: none;
}

.container .arrow_left {
	left: 10px;
}

.container .arrow_right {
	right: 10px;
}

.container:hover .arrow {
	display: block;
}

.container .arrow:hover {
	background-color: rgba(0, 0, 0, 0.2);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.panel { // /* margin: 10px 50px 10px 350px; */
	/*设置一个元素所有外边距的宽度（上，右，下，左）外边距*/
	width: 100%;
	height: 500px;
	overflow: hidden;
	background: linear-gradient(to top, #209cff 0%, #68e0cf 0%) no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hidden {
	transition: all 200ms ease;
	opacity: 0;
	pointer-events: none;
}

.carousel {
	width: 1500px;
	height: 400px;
	position: relative;
}

.carousel .btn {
	position: absolute;
	height: calc(100% - 15%);
	width: calc(100% - 90%);
	margin: 35px 0;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 400ms ease;
	overflow: hidden;
}

.carousel .btn:before {
	content: '';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	transition: all 300ms ease;
}

.carousel .btn i {
	font-size: 1.6rem;
	color: #000;
	transition: all 400ms ease;
	opacity: 0;
}

.carousel .btn-back {
	top: 0;
	left: 0px;
}

.carousel .btn-back:before {
	border-radius: 100% 0 0 100%;
	transform: translateX(100px);
}

.carousel .btn-back .fa-arrow-left {
	transform: translateX(100px);
}

.carousel .btn-next {
	top: 0;
	right: 0px;
}

.carousel .btn-next:before {
	border-radius: 0 100% 100% 0;
	transform: translate(-100px);
}

.carousel .btn-next .fa-arrow-right {
	transform: translateX(-100px);
}

.carousel .btn .right-indicator, .carousel .btn .left-indicator {
	opacity: 1;
	color: rgba(255, 255, 255, 0.9);
}

.carousel .btn .right-indicator {
	transform: translateX(-20px);
}

.carousel .btn .left-indicator {
	transform: translateX(-5px);
}

.carousel .btn:hover:before {
	border-radius: 0;
	background: rgba(255, 255, 255, 0.6);
	transform: translateX(0);
}

.carousel .btn:hover .fa-arrow-left, .carousel .btn:hover .fa-arrow-right
	{
	opacity: 1;
}

.carousel .btn:hover .fa-arrow-left {
	transform: translateX(8px);
}

.carousel .btn:hover .fa-arrow-right {
	transform: translateX(8px);
}

.carousel .btn:hover .right-indicator {
	transform: translateX(100px);
	opacity: 0;
}

.carousel .btn:hover .left-indicator {
	transform: translateX(-100px);
	opacity: 0;
}

.carousel .viewbox {
	width: calc(100% - 20%);
	height: calc(100% - 10%);
	position: relative;
	margin: 25px auto;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2), 2px 5px 10px
		rgba(0, 0, 0, 0.1), -2px 8px 10px rgba(0, 0, 0, 0.1);
	z-index: 2;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.6);
}

.carousel .viewbox .track {
	width: 100%;
	height: 100%;
	position: relative;
	transition: all 500ms ease;
	z-index: 2;
}

.carousel .viewbox .track .slide {
	width: 100%;
	height: 100%;
	position: absolute;
	transform: scale(1.09);
}

.carousel .viewbox .track .slide .images {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.carousel .nav-indicator {
	position: absolute;
	bottom: -2vh;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
}

.carousel .nav-indicator .dot {
	margin: 0 5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: all 300ms ease;
}

.carousel .nav-indicator .dot.active {
	background: rgba(0, 0, 0, 0.5);
}
</
style
>